import instance from "./request";


export const ArticleList = (params) => {
  return instance({
    url: '/article/list',
    method: 'get',
    params
  });
};

export const ArticleDetail = (id) => {
  return instance({
    url: `/article/${id}`,
    method: 'get'
  });
};